import $ from 'jquery'
import './css/index.css'
import './css/index.less'
import '../node_modules/bootstrap/dist/css/bootstrap.css'
import Vue from 'vue'
import app from './app.vue'
import VueRouter from 'vue-router'
import router from  './router'
// import Mint from 'mint-ui';
import 'mint-ui/lib/style.css';
// 按需引入部分组件
import { Button} from 'mint-ui';
import '../lib/mui-master/dist/css/mui.css'
Vue.component(Button.name, Button);
// Vue.component(Toast.name, Toast); js组件无效
// Vue.component(Checklist.name, Checklist);
// Vue.use(Mint)
Vue.use(VueRouter)

$(function(){
    // var login = {
    //     template:'#tpl1'
    // }

    var vm = new Vue({
        // el:"#app",
        // components:{
        //     app
        // },
        // router,

        render(h) {
            return h(app)
        },
        router
    }).$mount('#app')
})



